package com.pansoft.mobilemallpay.pays;

/**
 * Created by meijun on 17-11-28.
 */

public interface OnPayListener {
     int ERROR=0;
     int CANCLE =1;


     OnPayListener DEFAULT_LISTENER = new OnPayListener() {
        @Override
        public void onPaySuccess() {

        }

        @Override
        public void onPayFailure(String msg,int code) {

        }
    };

    /**
     * 支付成功回调
     */
    void onPaySuccess();

    /**
     * 支付失败回调
     */
    void onPayFailure(String msg, int code);


}
